$authenticateUser-column_width: 334px !default;
$authenticateUser-column_horizontalPadding: 26px !default;
$authenticateUser-userImage_width: 117px !default;
$authenticateUser-spacer: 18px !default;
$authenticateUser-ssoButton_margin: 12px !default;
$authenticateUser-socialIcon_width: 42px !default;
$authenticateUser-socialIcon_borderWidth: 3px !default;
$authenticateUser-socialIcon_bg: #fff !default;
$brand-color: #0291db !default;
$baseUnit: 6px !default;
$fontSize-large: 16px !default;
$fontSize-default: 14px !default;
$fontSize-small: 12px !default;
$authenticateUserName-opacity: 0.6 !default;
$authenticateUserArrowDown-opacity: 0.6 !default;
$icon_size: 24px !default;
$icon-large_size: 42px !default;
$authenticateMethod-button_boxShadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3) !default;
$authenticateMethod-button_horizontalMargin: 12px !default;

.authenticateUserCol {
    padding: 0 $authenticateUser-column_horizontalPadding;
    margin: auto;
    width: #{$authenticateUser-column_width + $authenticateUser-column_horizontalPadding * 2};
    max-width: 100%;
    box-sizing: border-box;

    .pageTitle {
        text-align: center;
        margin-bottom: $authenticateUser-spacer;
    }

    .button.button-fullWidth {
        margin-bottom: $authenticateUser-spacer;

        &.button-sso {
            margin-bottom: $authenticateUser-ssoButton_margin;
        }
    }

    .icon {
        display: inline-block;
        width: $icon_size;
        height: $icon_size;
        vertical-align: middle;
    }

    .iconLarge {
        width: $icon-large_size;
        height: $icon-large_size;
    }
}

.authenticateUser-photoCrop,
.authenticateUser-imageWrap {
    display: block;
    width: 100%;
    max-width: $authenticateUser-userImage_width;
}

.authenticateUser-photoCrop {
    overflow: hidden;
    border-radius: 50%;
}

.authenticateUser-imageWrap {
    position: relative;
    margin: auto;
}

.authenticateUser-icon {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    width: $authenticateUser-socialIcon_width;
    height: $authenticateUser-socialIcon_width;
    background-color: $authenticateUser-socialIcon_bg;
    border: {
        style: solid;
        width: $authenticateUser-socialIcon_borderWidth;
        color: $authenticateUser-socialIcon_bg;
        radius: 50%;
    }
}

.authenticateUser-photo {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
}

.authenticateUser-arrowDown {
    display: block;
    margin: $authenticateUser-spacer auto;
    opacity: $authenticateUserArrowDown-opacity;
}

.authenticateUser-name {
    font-size: $fontSize-large;
    font-weight: 600;
    text-align: center;
}

.authenticateUser-userName {
    font-size: $fontSize-small;
    opacity: $authenticateUserName-opacity;
    text-align: center;
}

.rememberMeAndForgot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: $fontSize-small;

    a {
        font-size: inherit;
        color: $brand-color;
    }
}

.rememberMeAndForgot-rememberMe {
    flex-grow: 1;
    padding-right: $baseUnit;
}

.authenticateUser-divider {
    text-align: center;
}

.authenticateUser-footer {
    text-align: center;
}

.authenticateUser-ssoLabel {
    display: inline;
    margin-left: $baseUnit * 2;
}

.button.Button {
    &.Primary.buttonCTA,
    &.button-sso {
        user-select: none;
        display: flex;
        align-items: center;
        justify-content: center;
        background-image: none;
        box-sizing: border-box;
        text-decoration: none !important;
    }

    &.button-sso {
        box-shadow: $authenticateMethod-button_boxShadow;
    }
}

.button-ssoLabel {
    margin: {
        left: $authenticateMethod-button_horizontalMargin;
        right: $authenticateMethod-button_horizontalMargin;
    }
    font-size: 14px;
    font-weight: normal;
    text-shadow: none;
}

.ssoMethod-icon {
    width: $icon_size;
    height: auto;

    &.ssoMethod-iconSpacer {
        display: block;
        visibility: hidden;
        height: $icon_size;
    }
}

.button-ssoContents {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}

.ssoMethods {
    margin-bottom: $authenticateUser-spacer;
}

.authenticateUser-paragraph {
    word-break: break-word;

    &.isError {
        color: #ff3933;
    }
}
